package com.course.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class CourseBuyVo {
    @ApiModelProperty("课程ID")
    private Long id;

    @ApiModelProperty("课程名称")
    private String name;

    @ApiModelProperty("发布用户姓名")
    private String userName;

    @ApiModelProperty("发布用户Id")
    private Long userId;

    @ApiModelProperty("发布用户学历")
    private String userDegree;

    @ApiModelProperty("课程标签")
    private List<String> tags;

    @ApiModelProperty("课程原始价格")
    private BigDecimal oriPrice;

    @ApiModelProperty("促销折扣")
    private BigDecimal discount;

    @ApiModelProperty("课程当前价格")
    private BigDecimal curPrice;

    @ApiModelProperty("课程封面")
    private String cover;

    @ApiModelProperty("分类名称")
    private String categoryName;

}
